<el-dialog class="dialogStyleBase" title="新增队长" width="500px" :visible.sync="editVisible"
    :before-close="function(){cacel('editForm')}" append-to-body>
    <div v-loading="false">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">

            <LayoutCell>
                
                <el-form-item label="选择会员" prop="name" :rules="{ required: true, message: '分类名称 不能为空'}">
                    <SelectDataUsers v-model="usersIds" :appWindow="appWindow" :count="1" :disabled="mixinEdit_editType == 'update'"
                        :apiConfig="$vFN.Tools.getAppGlobalData('componentsApiConfig.SelectDataUsers', appWindow)"></SelectDataUsers>
                </el-form-item>

                <el-form-item label="选择等级" prop="level_id" :rules="{ required: true, message: '请选择等级'}">
                    <el-select v-model="form.level_id" style="width:200px"
                        placeholder="请选择等级" clearable>
                        <el-option v-for="item in levelList" :label="item.name" :value="item.id"></el-option>
                    </el-select>
                </el-form-item>
            </LayoutCell>

        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="12" style="text-align: left;">
                <el-button @click="mixinEdit_resetForm('editForm')">重 置</el-button>
            </el-col>
            <el-col :span="12">
                <el-button @click="cacel('editForm')">取 消</el-button>
                <el-button type="primary" @click="sum({model:'form',ref:'editForm'})">确
                    定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>